package com.woniuxy.service;

import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.User;

public interface UserService {
    ResponseEntity findAll(int currentPage, int pageSize);
    ResponseEntity addOne(User user);
    ResponseEntity updateOne(User user);
    ResponseEntity deleteOne(int id);
    ResponseEntity findByContext(User user);
    User findByUsername(String username);
    User login(String username,String password);
    ResponseEntity updatePassword(Object obj);
    ResponseEntity batchDelete(int[] ids);
    ResponseEntity getPassword(int id);
    ResponseEntity findByNo(String no);
    ResponseEntity findByName(String username);
}
